package com.ruoyi.scrap.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_scrap_apply_info")
public class ScrapApplyInfo {
    private static final long serialVersionUID = 1L;

    /** 申请id */
    @Excel(name = "申请id")
    @TableId(type = IdType.INPUT)
    private String applyId;
    /** 分管领导 */
    @Excel(name = "分管领导")
    private String leaderName;
    /** 分管领导签字 */
    @Excel(name = "分管领导签字")
    private String leaderSign;
    /** 科室负责人 */
    @Excel(name = "科室负责人")
    private String deptLeaderName;
    /** 科室负责人签字 */
    @Excel(name = "科室负责人签字")
    private String deptLeaderSign;
    /** 科室分管人员 */
    @Excel(name = "科室分管人员")
    private String deptStaffName;
    /** 科室分管人员签字 */
    @Excel(name = "科室分管人员签字")
    private String deptStaffSign;
    /** 车间主任 */
    @Excel(name = "车间主任")
    private String workLeaderName;
    /** 车间主任签字 */
    @Excel(name = "车间主任签字")
    private String workLeaderSign;
    /** 经办人 */
    @Excel(name = "经办人")
    private String workStaffName;
    /** 经办人签字 */
    @Excel(name = "经办人签字")
    private String workStaffSign;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("applyId", getApplyId())
                .append("leaderName", getLeaderName())
                .append("leaderSign", getLeaderSign())
                .append("deptLeaderName", getDeptLeaderName())
                .append("deptLeaderSign", getDeptLeaderSign())
                .append("deptStaffName", getDeptStaffName())
                .append("deptStaffSign", getDeptStaffSign())
                .append("workLeaderName", getWorkLeaderName())
                .append("workLeaderSign", getWorkLeaderSign())
                .append("workStaffName", getWorkStaffName())
                .append("workStaffSign", getWorkStaffSign())
                .toString();
    }
}
